package com.cct.digitalarchapi.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cct.digitalarchapi.pojo.ArchDeptHotpoint;
import com.cct.digitalarchapi.pojo.dto.ArchTypeAndNumDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface ArchDeptHotpointMapper extends BaseMapper<ArchDeptHotpoint> {

    void addHotpoint(ArchDeptHotpoint archDeptHotpoint);

    void deleteHotpoint(@Param("archDeptHotId") int archDeptHotId);

    IPage<ArchDeptHotpoint> qryHotpoint(IPage<ArchDeptHotpoint> page,@Param("archDeptCateCode") String archDeptCateCode);


    String qryHaveHotPoint(@Param("archDeptHotName") String archDeptHotName);
}
